package io.simple.monitoring;

import io.simple.signals.Signal;

import java.util.regex.Pattern;

/**
 * Created by rehak on 4/28/14.
 */
public interface HandlerMonitor {

    public void time(Pattern handlerPattern, long duration);

    public void invoke(Pattern handlerPattern);

    public void notFound(String path);

    public void signal(Pattern handlerPattern, Signal s);

    public void exception(Pattern handlerPattern, Exception ex);

}
